package com.example.anwserai.demos.web.entity;

import com.alibaba.fastjson.JSONArray;

import java.util.Map;

/**
 * @author cao
 * @title DocumentAnalysisResult
 * @date 2025/3/11 15:30
 * @description TODO
 */
public class DocumentAnalysisResult {

    /*正文内容*/
    private String fileContent;

    /*出错内容*/
    private JSONArray errorcontent;

    public String getFileContent() {
        return fileContent;
    }

    public void setFileContent(String fileContent) {
        this.fileContent = fileContent;
    }

    public JSONArray getErrorcontent() {
        return errorcontent;
    }

    public void setErrorcontent(JSONArray errorcontent) {
        this.errorcontent = errorcontent;
    }

    private String docTitle;

    private String islengthcompliance;

    private String iscompletionlevel;

    /*信息准确程度*/
    private String accuracyinformation;

    /*要素是否齐全*/
    private String isCompleteelements;

    /*满足条例规定*/
    private String ismeetrequirements;

    /*文理是否通顺*/
    private String isunitycoherence;


    public DocumentAnalysisResult(String fileContent, JSONArray errorcontent, String docTitle, String islengthcompliance, String iscompletionlevel, String accuracyinformation, String isCompleteelements, String ismeetrequirements, String isunitycoherence) {
        this.fileContent = fileContent;
        this.errorcontent = errorcontent;
        this.docTitle = docTitle;
        this.islengthcompliance = islengthcompliance;
        this.iscompletionlevel = iscompletionlevel;
        this.accuracyinformation = accuracyinformation;
        this.isCompleteelements = isCompleteelements;
        this.ismeetrequirements = ismeetrequirements;
        this.isunitycoherence = isunitycoherence;
    }

    public DocumentAnalysisResult(String fileContent, String docTitle, String islengthcompliance, String iscompletionlevel, String accuracyinformation, String isCompleteelements, String ismeetrequirements, String isunitycoherence) {
        this.fileContent = fileContent;
        this.docTitle = docTitle;
        this.islengthcompliance = islengthcompliance;
        this.iscompletionlevel = iscompletionlevel;
        this.accuracyinformation = accuracyinformation;
        this.isCompleteelements = isCompleteelements;
        this.ismeetrequirements = ismeetrequirements;
        this.isunitycoherence = isunitycoherence;
    }

    public DocumentAnalysisResult(String docTitle, String islengthcompliance, String iscompletionlevel, String accuracyinformation, String isCompleteelements, String ismeetrequirements, String isunitycoherence) {
        this.docTitle = docTitle;
        this.islengthcompliance = islengthcompliance;
        this.iscompletionlevel = iscompletionlevel;
        this.accuracyinformation = accuracyinformation;
        this.isCompleteelements = isCompleteelements;
        this.ismeetrequirements = ismeetrequirements;
        this.isunitycoherence = isunitycoherence;
    }

    public DocumentAnalysisResult(String docTitle, String islengthcompliance, String iscompletionlevel) {
        this.docTitle = docTitle;
        this.islengthcompliance = islengthcompliance;
        this.iscompletionlevel = iscompletionlevel;
    }

    public String getAccuracyinformation() {
        return accuracyinformation;
    }

    public void setAccuracyinformation(String accuracyinformation) {
        this.accuracyinformation = accuracyinformation;
    }

    public String getIsCompleteelements() {
        return isCompleteelements;
    }

    public void setIsCompleteelements(String isCompleteelements) {
        this.isCompleteelements = isCompleteelements;
    }

    public String getIsmeetrequirements() {
        return ismeetrequirements;
    }

    public void setIsmeetrequirements(String ismeetrequirements) {
        this.ismeetrequirements = ismeetrequirements;
    }

    public String getIsunitycoherence() {
        return isunitycoherence;
    }

    public void setIsunitycoherence(String isunitycoherence) {
        this.isunitycoherence = isunitycoherence;
    }

    public String getIscompletionlevel() {
        return iscompletionlevel;
    }

    public void setIscompletionlevel(String iscompletionlevel) {
        this.iscompletionlevel = iscompletionlevel;
    }

    public String getDocTitle() {
        return docTitle;
    }



    public void setDocTitle(String docTitle) {
        this.docTitle = docTitle;
    }

    public String getIslengthcompliance() {
        return islengthcompliance;
    }

    public void setIslengthcompliance(String islengthcompliance) {
        this.islengthcompliance = islengthcompliance;
    }
}
